<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>炫酷登录页</title>
  <link rel="stylesheet" href="style.css" />
</head>
<body>
  <div class="login-container">
    <div class="login-card">
      <h2>登录</h2>
      <form id="loginForm" class="login-form">
        <div class="input-group">
          <label for="username">用户名</label>
          <input type="text" id="username" required />
          <span class="error-message">请输入用户名</span>
        </div>
        <div class="input-group">
          <label for="password">密码</label>
          <input type="password" id="password" required />
          <span class="error-message">请输入密码</span>
        </div>
        <button type="submit" class="login-btn">登录</button>
        <div class="footer-links">
          <a href="#">忘记密码？</a>
          <a href="#">注册</a>
        </div>
      </form>
    </div>
  </div>
  <script src="script.js"></script>
</body>
</html>